/*
 * Keyword.java Copyright 2004 Paul Mukherjee
 */
package org.nanhill.support.hibernate.search.demo.filesearch;

/**
 * @author pmu
 * @version $Revision: 1.1 $
 *
 * Class representing a keyword associated with a volume.
 */
public class Keyword {
  /**
   * Unique identifier for the file, corresponding to the primary key in the database.
   */
  private Integer id;
  
  /**
   * The keyword text.
   */
  private String keyword;
  
  /**
   * Creates an instance of this class.
   */
  public Keyword(){}
  
  /**
   * @return Returns the id.
   */
  public Integer getId() {
    return id;
  }
  
  /**
   * @param id The id to set.
   */
  public void setId(Integer id) {
    this.id = id;
  }
  
  /**
   * @return Returns the value.
   */
  public String getKeyword() {
    return keyword;
  }
  
  /**
   * @param value The value to set.
   */
  public void setKeyword(String value) {
    this.keyword = value;
  }
}
